package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Stock;
import java.util.List;

public interface StockMapper {
    List<Stock> selectAll();

    void update(Stock stock);

    void insert(Stock stock);

    Stock selectById(Long id);

    Stock selectStockNumber(Long id); //查询商品库存

    void updateNumber(Stock stock); //更新商品库存
}